package com.aspose.cells;

class zccy extends zcdb {
   zccy(PageSetup var1) {
      this.d = 477;
      this.c = new byte[2];
      if (var1.getCenterHorizontally()) {
         this.c[0] = (byte)(this.c[0] | 1);
      }

      if (var1.getCenterVertically()) {
         this.c[0] = (byte)(this.c[0] | 2);
      }

      if (var1.getPrintHeadings()) {
         this.c[0] = (byte)(this.c[0] | 4);
      }

      if (var1.getPrintGridlines()) {
         this.c[0] = (byte)(this.c[0] | 24);
      } else {
         this.c[0] = (byte)(this.c[0] | 16);
      }

   }
}
